package org.jssvc.opac;

import org.jssvc.opac.bean.BookSearchParam;

import java.util.ArrayList;
import java.util.List;

public class TestDemo {

    public static void main(String[] args) {

        BookSearchParam.SearchWordsBean.FieldListBean word = new BookSearchParam.SearchWordsBean.FieldListBean();
        word.setFieldValue("测试");

        List<BookSearchParam.SearchWordsBean.FieldListBean> wordlist = new ArrayList<>();
        wordlist.add(word);

        BookSearchParam.SearchWordsBean hold = new BookSearchParam.SearchWordsBean();
        hold.setFieldList(wordlist);

        List<BookSearchParam.SearchWordsBean> holdList = new ArrayList<>();
        holdList.add(hold);

        BookSearchParam bookSearchParam = new BookSearchParam();
        bookSearchParam.setPageSize(20);
        bookSearchParam.setSearchWords(holdList);





    }
}
